import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/cherry/jobs',
    method: 'get',
    params
  })
}

export function getJob(params) {
  return request({
    url: '/cherry/jobs/'+params,
    method: 'get',
  })
}